/**
 * 
 */
package com.yidu.service.emp;

import java.util.List;
import java.util.Map;

import com.yidu.domain.Emp;

/**
 * @author Administrator
 *
 */
public interface EmpService {

	public boolean validateName(String empName);
	
	public boolean findLogin(Map<String,Object> map);
	
	 /**
     * 查询所有
     * @param map
     * @return
     */
    List<Emp> selectAll(Map<String, Object> map);
    
    /**
     * 查询所有行数
     * @return
     */
    int findAllRowCount(Map<String, Object> map);
    
    /**
     * 查询所有
     * @param map
     * @return
     */
    List<Emp> selectAll2();
    
    int deleteByPrimaryKey(String empId);

    int insertSelective(Emp record);
    
    Emp selectByPrimaryKey(String empId);
    
    int updateByPrimaryKeySelective(Emp record);

    
}
